﻿<?xml version="1.0"?>

<ActionPlan name="sample" xmlns="http://schemas.microsoft.com/almrangers/2012/ActionPlan">
  <properties>
    <property name="RootFolder" />
    <property name="DevBranchName" optional="true">dev</property>
  </properties>
  <actions>
    <action id="MainBranch" name="SccCreateFolder">
      <input>
        <property name="FolderPath">$(ActionPlan.RootFolder)/Main</property>
      </input>
    </action>
    <action id="DevBranch" name="SccCreateBranch">
      <input>
        <property name="BranchSource">$(MainBranch.MainBranchPath)</property>
        <property name="BranchTarget">$(ActionPlan.RootFolder)/$(ActionPlan.DevBranchName)</property>
      </input>
      <output>
        <property name="BranchPath" />
      </output>
    </action>
    <action id="Check-in" name="SccCheckIn" />
  </actions>
</ActionPlan>